#pragma once

#include <string>
#include "../Config/DatabaseConfig.h"

class Config
{
public:
    Config(const std::string &config_file);
    ~Config();

protected:
    void loadFile(const std::string &config_file);

public:
    std::string config_file_;

	std::string id_;
    int port_ = 0;

	int thread_number_ = 4;

	int read_count_ = 500;

    DatabaseConfig database_;
};

